package com.ruoyi.spspublic.service;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface ITMisTemplateService {
  /**
   * 根据功能号上传附件
   *
   * @param file
   * @param funNo
   * @return
   */
  String uploadTemplate(MultipartFile file, String funNo);

  /**
   * 导出业务单据
   *
   * @param funNo
   * @param bussNo
   * @param response
   * @return
   */
  void exportData(String funNo, String bussNo, HttpServletResponse response, MultipartFile file);

  /**
   * 批量导出业务单据
   *
   * @param funNo
   * @param bussNoList
   * @param response
   */
  void batchExportData(
      String funNo, List<String> bussNoList, HttpServletResponse response, MultipartFile file);
}
